<!doctype html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <script src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
    <script src="js/traversingDown.js"></script>
    <style>
        div,p{
            padding: 50px;
            border: 2px solid #c09f7a;
        }
    </style>
</head>
<body>
    <div id="div1">
        <div id="div2">
            <p>
                <a href="#">hello world</a>
            </p>
        </div>
    </div>
</body>
</html>